# Jacob Breiholz
# 3/8/18
# This script makes an xcell file from a cell list file.
# Syntax: python make_xcell.py cell_list_file.txt

import os
import sys
import re

inFile = sys.argv[1]

o = open("xcell.txt","w")
in_file = open("./"+inFile, "r").readlines();
for lines in in_file:
        lines = lines.replace("\n","")
        new_line = lines+"*\t\t\t\t\t"+lines+"\n";
        o.write(new_line)

o.close()

